package com.example.java.ai.langchain4j.bean;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Document("chat_message")
public class ChatMessages {
    @Id
    private ObjectId messageId; //mongo自动生成

    private String memoryId;

    private String content; //存储当前聊天记录表的json字符串
}
